package com.monika.main.system.dao;

import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.cursor.Cursor;

import java.util.LinkedHashMap;

/**
 * @author:whh
 * @date: 2025-05-20 21:29
 * <p></p>
 */
public interface CommonMapper {


    @SelectProvider(type = SQLProvider.class,method = "SQL")
    Cursor<LinkedHashMap> cursor(@Param("columns") String[] columns, @Param("condition")LinkedHashMap<String,Object>condition);


}
